package com.mengxuegu.springboot.mapper;

import com.mengxuegu.springboot.entities.CardBean;
import com.mengxuegu.springboot.entities.SpendBean;
import com.mengxuegu.springboot.entities.SpendSearch;
import com.mengxuegu.springboot.entities.TransBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BankBillMapper {

   List<TransBean> gettransBynum(String num);

    int addBanktrans(TransBean transBean); //还款借钱流水

    List<SpendBean>  getSpend(SpendBean spendBean);//查统计图

    int updateSpendByNum(SpendBean spendBean);//更新统计图

    List<SpendBean> getSpendAll(SpendBean spendBean);


    List<SpendSearch> querySpendAll();
}
